package com.his.struts.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import com.his.struts.form.diseaseInfo.*;

public class DiseaseInfoForm extends ActionForm {
	
	// 用户id
	private int uid;
	// 以往病例史
	private AgodistimeForm ago = new AgodistimeForm();
	// 基本信息表
	private BasicInfoForm basic = new BasicInfoForm();
	// 自我评估
	private EstimateForm estimate = new EstimateForm();
	// 女性生理
	private FemaleForm female = new FemaleForm();
	// 家庭遗传史
	private FimilyForm fimil = new FimilyForm();
	// 受伤史
	private HurtForm hurt = new HurtForm();
	// 生活方式
	private LivingForm living = new LivingForm();
	// 饮食方式
	private YinshiForm yinshi = new YinshiForm();
	
	/**
	 * Method validate 验证数据是否正确
	 * 
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		return null;
	}

	/**
	 * Method reset 重置
	 * 
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
	}
	

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public AgodistimeForm getAgo() {
		return ago;
	}

	public void setAgo(AgodistimeForm ago) {
		this.ago = ago;
	}

	public BasicInfoForm getBasic() {
		return basic;
	}

	public void setBasic(BasicInfoForm basic) {
		this.basic = basic;
	}

	public EstimateForm getEstimate() {
		return estimate;
	}

	public void setEstimate(EstimateForm estimate) {
		this.estimate = estimate;
	}

	public FemaleForm getFemale() {
		return female;
	}

	public void setFemale(FemaleForm female) {
		this.female = female;
	}

	public FimilyForm getFimil() {
		return fimil;
	}

	public void setFimil(FimilyForm fimil) {
		this.fimil = fimil;
	}

	public HurtForm getHurt() {
		return hurt;
	}

	public void setHurt(HurtForm hurt) {
		this.hurt = hurt;
	}

	public LivingForm getLiving() {
		return living;
	}

	public void setLiving(LivingForm living) {
		this.living = living;
	}

	public YinshiForm getYinshi() {
		return yinshi;
	}

	public void setYinshi(YinshiForm yinshi) {
		this.yinshi = yinshi;
	}
	
}
